package com.leige.webconfig.httpstatus;

import com.leige.webconfig.http.CustomStatus;

public enum UserResponseStatus implements CustomStatus{
	notLogin("没有登陆！");
	
	private final static int defaultCode=0;
	private String reasonPhrase;
	private UserResponseStatus(String reasonPhrase) {
		this.reasonPhrase=reasonPhrase;
	}
 
	public final int code(){
		return  (defaultCode+ minCode)*1000+super.ordinal();
	}
	
	public final String message(){
		return reasonPhrase;
	}
	
}
